<%@ page trimDirectiveWhitespaces="true" %>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@page import="com.seeyon.ctp.common.flag.*"%>
<!DOCTYPE html>
<html class="h100b over_hidden">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=EDGE"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="renderer" content="webkit" />

    <%
        request.setAttribute("ajaxStub.disabled","false");
    %>
    <%@ include file="/WEB-INF/jsp/common/common_header.jsp"%>
    <%@ include file="/WEB-INF/jsp/common/common_footer4NewCollaboration.jsp"%>

	<title>${ctp:i18n('collaboration.newcoll.htmltitle')}</title>

	<link rel="stylesheet" href="${path}/apps_res/collaboration/css/newCollaboration-all-min.css${ctp:resSuffix()}">

	<%@ taglib uri="http://v3x.seeyon.com/taglib/core" prefix="v3x" %>
	<%@ include file="/WEB-INF/jsp/common/template/template.js.jsp" %>
    <%@ include file="/WEB-INF/jsp/apps/collaboration/new_print.js.jsp" %>
    <%@ include file="/WEB-INF/jsp/ctp/form/design/formDevelopmentOfadv.jsp" %>


	<c:set value="${vobj.template.type != 'text'}" var="nonTextTemplete" />
    <c:set value="${vobj.template.type != 'workflow'}" var="notworkflowTemplate" />
    <c:set value="${vobj.template!=null && vobj.systemTemplate}" var="isSystemTemplete" />
    <c:set value="${zwModuleId != null ? zwModuleId : '-1'}" var="zwModuleId" />
    <c:set value="${vobj.summary.bodyType != null ? vobj.summary.bodyType : '10'}" var="zwContentType" />
    <c:set value="${zwRightId != null ? zwRightId : ''}" var="zwRightId" />
    <c:set value="${zwIsnew != null ? zwIsnew : 'true'}" var="zwIsnew" />
    <c:set value="${zwViewState != null ? zwViewState : ''}" var="zwViewState" />
    <c:set value="${param.method eq 'newColl' && vobj.template.bodyType == 20}" var="isNewFormPage"/>
    <c:set value="${empty param.templateId ? vobj.summary.templeteId:param.templateId}" var="currentTemplateId" /> <!-- 当前的模板Id,个人模板的话是自己的Id,不是其父模板的Id -->

	<script type="text/javascript" charset="UTF-8" src="${path}/common/js/polyfill.min.js${ctp:resSuffix()}"></script>
	<script type="text/javascript" charset="UTF-8" src="${path}/common/cap-dynamic-front/load.js${ctp:resSuffix()}"></script>
	<% if (isDevelop) { %>
	<%-- @功能引用js --%>
	<script type="text/javascript" charset="UTF-8" src="${path}/apps_res/collaboration/atwho/js/jquery.atwho.js${ctp:resSuffix()}"></script>
	<script type="text/javascript" charset="UTF-8" src="${path}/apps_res/collaboration/atwho/js/jquery.caret.js${ctp:resSuffix()}"></script>
	<script type="text/javascript" src="${path}/common/js/orgIndex/jquery.tokeninput.js${ctp:resSuffix()}"></script>
	<script type="text/javascript" charset="UTF-8" src="${path}/apps_res/collaboration/js/project_select.js${ctp:resSuffix()}"></script>
	<script type="text/javascript" charset="UTF-8" src="${path}/apps_res/collaboration/js/newCollaboration.js${ctp:resSuffix()}"></script>
	<script type="text/javascript" src="${path}/common/js/template/templateApi.js${ctp:resSuffix()}"></script>
	<script type="text/javascript" charset="UTF-8" src="${path}/apps_res/collaboration/js/dealNodeCommon.js${ctp:resSuffix()}"></script>
	<!-- 页面设计器单独引用的js -->
	<c:if test="${isHasPageDesign == 'true'}" >
		<script type="text/javascript" charset="UTF-8" src="${path}${pageInfoUrl}${ctp:resSuffix()}"></script>
	</c:if>
	<% } else { %>
	<script type="text/javascript" charset="UTF-8" src="${path}/apps_res/collaboration/js/newCollaboration-all-min.js${ctp:resSuffix()}"></script>
	<!-- 页面设计器单独引用的js -->
	<c:if test="${isHasPageDesign == 'true'}" >
		<script type="text/javascript" charset="UTF-8" src="${path}${pageInfoUrl}${ctp:resSuffix()}"></script>
	</c:if>
	<% } %>
    <c:if test="${isSystemTemplete || showTraceWorkflows}"> <!-- 流程预测等相关切换耦合在dataRelation.js里面，高级工作流只管控相关数据，先放开，后面预测等操作应该和相关数据解耦 -->
        <link rel="stylesheet" href="${path}/apps_res/collaboration/css/dataRelation.css${ctp:resSuffix()}">
        <script type="text/javascript" charset="UTF-8" src="${path}/apps_res/collaboration/js/dataRelation.js${ctp:resSuffix()}"></script>
    	<script type="text/javascript" charset="UTF-8" src="${path}/common/js/echarts-all.js${ctp:resSuffix()}"></script>
 		<script type="text/javascript" charset="UTF-8" src="${path}/common/report/chart/js/seeyon.ui.reportEcharts.js${ctp:resSuffix()}"></script>
	    <script type="text/javascript" charset="UTF-8" src="${path}/common/report/chart/js/report-result-chart.js${ctp:resSuffix()}"></script>
    </c:if>

	<script type="text/javascript">
			var remind_workflow_start_department_id= "${remind_workflow_start_department_id}";
			var workflow_start_department_id= "${workflow_start_department_id}";
			var workflow_start_department_name= "${ctp:escapeJavascript(workflow_start_department_name)}";
		    var isNewCollFlag = '${isNewCollFlag}';
		    // 是否是编辑待发
		    var isEditFromWaitSend = ${vobj.newBusiness == "0" ? 'true' : "false"};
			var advancedButs ='${basicButs}';
			var processTermTypeVal="${vobj.summary.processTermType}";
			var appName= "collaboration";
			var createProcessXmlNPS= "default";
			var defaultPolicyId= "collaboration";
			var defaultPolicyName= $.i18n('common.collaboration.label');
            var nodeattitudeListSize = "${nodeattitudeListSize}";
			var zwIframeUrl = "";
			var isCap4Forward = "${isCap4Forward}";
			var pTemp = {"nodePolicy":'${newColNodePolicy}',"jval":"${jval}"};
			var isV5Member = ${CurrentUser.externalType == 0};
			var hasDoc = "${ctp:hasPlugin('doc')}";
			var DR = "${DR}";
			var templateProcessId = "${templateProcessId}";
			var summaryId = "${ctp:escapeJavascript(vobj.summaryId)}";
			var _summaryId = "${ctp:escapeJavascript(vobj.summaryId)}";
			var tps = '${param.tps}';
			var senderId = "${vobj.summary.startMemberId}";
			var nodePolicy = "newCol";
			//取新建节点权限
			var nodePolicy = $.parseJSON(pTemp.nodePolicy);
			var officecanPrint = nodePolicy.print.toString();
			var summarySate ="${summarySate}";
			var affairState = "-1";
				if(summarySate != "-1"){
                    affairState = summarySate;
				}

	   		// 正文组件判断，新建页面
  			var bIsContentNewPage = true;
	   		var openFrom = "newColl";//数据关联使用
			var bIsClearContentPadding = ${(vobj.template.bodyType == 20) ? false : true};
			var hasColSubject = ${vobj.template.colSubject == null || vobj.template.colSubject == "" ? false : true};//判断是否有标题规则
			var checkPDFIsNull=false; //保存个人模板的标记，个人协同模板允PDF正文许为空
			//服务器时间和本地时间的差异
			var server2LocalTime = <%=System.currentTimeMillis()%> - new Date().getTime();
			var isForm ='${vobj.form}';
			var isFromTemplate = '<c:out value="${isFromTemplate}" default="false" />';
			var isSystemTemplete = '<c:out value="${isSystemTemplete}" default="false" />';
			//移动newCollaboration.js.jsp 变量开始
			var zdgzid ="${vobj.forGZShow}";
			var htdbry ="${vobj.forShow}";
			var officeOcxUploadMaxSize = "${officeOcxUploadMaxSize}";
			var bodyType = '${vobj.summary.bodyType}';
			var paramfrom = "${ctp:escapeJavascript(param.from)}";
			var reqFrom = "${ctp:escapeJavascript(param.reqFrom)}";
            var from = "${ctp:escapeJavascript(from)}";
			var wfXmlInfo = '${vobj.wfXMLInfo}';
            var _callTemplateId = '${ctp:escapeJavascript(param.templateId)}';
            var templateId = '${ctp:escapeJavascript(empty param.templateId ? vobj.summary.templeteId:param.templateId)}';
            //系统模板ID,如果本身是系统模板取自己的ID，如果是个人模板存为的系统模板，取父模板ID
            var systemTemplateId = '${ctp:escapeJavascript(empty vobj.temformParentId  ? currentTemplateId :   vobj.temformParentId)}';
			var canCopy = '${vobj.template.canCopy}';
			var _summaryActivityId = "start";
			var affairId = "${empty vobj.affairId  ? '-1' : vobj.affairId }";
			var isformTemplate = '${vobj.template!=null && (vobj.template.bodyType == 20)}';
			var uuidlong = '${uuidlong}';
			var ishideconotentType = ('${vobj.systemTemplate}' == 'true' && ('${vobj.template.type}' != 'workflow')) || ('${_hideContentType}' =='1');
			var istranstocol = '${transtoColl}' =='true';
			var transOfficeId ='${transOfficeId}' != '';
			var isneedsendcheck = '${vobj.summary.newflowType}' != '2' && '${subState}' != '16';
			var _subState = '${subState}';
			var isSysTem = ${vobj.template!=null && vobj.systemTemplate};
			var isTemFlag = '${vobj.template ne null}';
			var importantL = '${vobj.summary.importantLevel}';
			var deadl = '${vobj.summary.deadline}';
			var formAppid = '${vobj.summary.formAppid}';
			var advanceR = '${vobj.summary.advanceRemind}';
			var vobjtrackids = "${vobj.trackIds}";

			var vobjcolsupnames = '${vobj.colSupervisorNames}';
			var vobjcolSupors = '${vobj.colSupervisors}';
			var vobjcolsupDate = '${vobj.superviseDate}';
			var forwardMember = '${vobj.summary.forwardMember}';
			var replyCounts = '${vobj.summary.replyCounts}';
			
			//是否为督办业务
			var isSupervision = "${isSupervision}";

			var sumcanforward = "${vobj.summary.canForward}";
			var sumcanmodify = "${vobj.summary.canModify}";
			var sumcanEdit = "${vobj.summary.canEdit}";
			var sumcanEditAtt = "${vobj.summary.canEditAttachment}";
			var sumcanAddComment = "${vobj.summary.canAddComment}";
			var sumcanArchive = "${vobj.summary.canArchive}";
			//var sumcanautostop = "${vobj.summary.canAutostopflow}" && "${vobj.summary.canAutostopflow}" =="0";
			var vobjreadonly = '${vobj.readOnly}' == 'true';
            var isneedsetDetailwhenwftem =  '${ctp:escapeJavascript(vobj.templeteId)}' && '${vobj.template.type}' =='workflow' && '${isSystemTemplete}'=='true';
			var vobjparentColTem = '${vobj.parentColTemplete}'=='true';
			var vobjparenttexttype = '${vobj.template.type}' =='text';
			var waitsendflag = "${ctp:escapeJavascript(vobj.from)}" != 'waitSend';
            var waitsendflagnew = "${ctp:escapeJavascript(vobj.from)}" == 'waitSend' && _subState !='1';
            var vobjparentwftem = '${vobj.parentWrokFlowTemplete}' =='true';
			var frompeoplecardflag = ${empty peopeleCardInfo ? 'false' : 'true'};
			var peoplecardinfoID = '${peopeleCardInfo.id}';
			var peoplecardinfoname = '${peopeleCardInfo.name}';
			var peoplecardinfoaccountid = '${peopeleCardInfo.orgAccountId}';
			var issameaccountflag = ${isSameAccount == 'false'};
			var accountobjsn = '${accountObj.shortName}';
			var warnforsupervise = '${noDepManager}' == 'true' && ${param.from ne 'waitSend'};
			var tracktypeeq2 = ${trackType eq 2};
			var formRecordid  = "${vobj.summary.formRecordid}" ;
			var fgzids = '${forGZIds}';
			var tracktypeeq0 = ${trackType eq 0};
			var savedrafttemVal = '${subState}' != '16';
			var issystemtemflag = '${vobj.template!=null && vobj.systemTemplate}' == 'true';
			var curlocationPath = '${path}';
			var useforsavetemsubject = "${ctp:escapeJavascript(vobj.template.showSubject)}";
			var saveastemtype ='${vobj.template.type}';
			var pipeinfo1 = v3x.getMessage("collaborationLang.collaboration_alertPigeonholeItemFailure");
			var pipeinfo2 = v3x.getMessage("prep-pigeonhole.label");
			var pipeinfo3 = v3x.getMessage("common.button.ok.label");
			var pipeinfo4 = v3x.getMessage("collaborationLang.collaboration_alertPigeonholeItemFailure");
			var pipeinfo5 = v3x.getMessage("common.button.cancel.label");
			var contentViewState = '${contentViewState}';
			var ordinalTemplateIsSys ='${ordinalTemplateIsSys}';
			var superviseTip = "${ctp:escapeJavascript(ctp:i18n('collaboration.common.common.supervise.specialCharacters'))}";
			var _expansion ="${ctp:i18n('common.relate.open.label')}";
			var _collapse ="${ctp:i18n('common.retract.label')}";
			var customSetTrackFlag = '${customSetTrack}' == 'true';
			var _bizConfig = "${vobj.from eq 'bizconfig'}" == "true";
			var projectId ="${vobj.projectId}";
			var _isProjectDisabled = ${disabledProjectId eq '1'};
			if(!${CurrentUser.externalType == 0}){//非A8人员
			    _isProjectDisabled = true;
			}
			var _isResendFlag = ${isResend eq '1'};
			var newColl = true;
			var affairMemberId = '${CurrentUser.id}';
			var affairMemberName = '${ctp:escapeJavascript(CurrentUser.name)}';
			var _affairMemberId = affairMemberId;
			//移动newCollaboration.js.jsp 变量结束
			//工作流相关的信息  摘自 include_variables.jsp 开始
			var mtCfg = ${contentCfg != null?contentCfg.mainbodyTypeListJSONStr:'[]'};
			var useWorkflow = "${contentCfg.useWorkflow}";
			var cap4Flag = "${isCAP4}";
			var _RemindInterval ="${_RemindInterval}"
			var loginAccount = '${CurrentUser.loginAccount}';
			//待发增加表单锁相关参数 start
			var isHasFormEditPage = "${isHasFormEditPage}";
		    var alertLockMsg = "${alertLockMsg}";
		    var hasFormLock = "${hasFormLock}";
		    var fromRecordId = "${fromRecordId}";
		    var _summaryProcessId = '${summaryProcessId}';
		    var summaryOrgAccountId = '${summaryOrgAccountId}';
		    var affairFirstViewTime = '${affairFirstViewTime}';
		    var affairSignleViewPeriod = '${affairSignleViewPeriod}';
			var secretLevelAble = "${secretLevelAble}";//是否开启密级
		    //待发增加表单锁相关参数 end
			<c:if test="${contentCfg.useWorkflow}">
				var wfItemId = '${contentContext.wfItemId}';
				var wfProcessId = '${contentContext.wfProcessId}';
				var wfProcessTemplateId = '${contentContext.processTemplateId}';
				var wfActivityId = '${contentContext.wfActivityId}';
				var CurrentUserId = '${CurrentUser.id}';
				var wfCaseId = '${contentContext.wfCaseId}';
				var moduleTypeName = '${contentContext.moduleTypeName}';
			</c:if>
			//工作流相关的信息  摘自 include_variables.jsp 结束
			//***************
			//lilong 快速选人变量 0326
			window.distroy_token = false;
			<c:if test="${subState ne '16'}">
			    <c:if test="${((onlyViewWF && isSystemTemplete)  || vobj.parentWrokFlowTemplete || vobj.parentColTemplete) && nonTextTemplete}">
			    //正常但是有模板，需要屏蔽token
			    window.distroy_token = true;
			    </c:if>
			</c:if>
			<c:if test="${subState eq '16'}">
			  //指定回退
			  window.distroy_token = true;
			</c:if>
			if((paramfrom && paramfrom == 'resend')  //重复发起 OA-55334
					|| (isTemFlag && isTemFlag == 'true') //个人模板 OA-55428
					|| (paramfrom && paramfrom == 'waitSend')){  //OA-55492 撤销或者保存待发过来的屏蔽

				window.distroy_token = true;

			}
			if(frompeoplecardflag){
				window.distroy_token = true;
			}
			<%-- 三方入口屏蔽快速选人 --%>
			if(paramfrom == 'a8genius' ||  //致信
				paramfrom == 'dingding' || //钉钉
				paramfrom == 'qywechat' || //企业微信
				paramfrom == 'feishu'){    //飞书

				window.distroy_token = peoplecardinfoID != '';
			}
			<%-- V-Join屏蔽快速选人 --%>
			<c:if test="${CurrentUser.externalType != 0}">
				window.distroy_token = true;
		    </c:if>

			$("#process_info_div").click(function(){
				$("#token-input-process_info").css("color","#111");
			});
			$("#token-input-process_info").live("keydown", function(){
				$("#token-input-process_info").css("color","#111");
			});

			var defaultNodeName = "${defaultNodeName}";
			var defaultNodeLable = "${defaultNodeLable}";
			var isHistoryFlag = "false";
			var canDeleteNode = "${vobj.summary.canDeleteNode}";
			// 合并处理相关配置
			var mergeIgnoreCommentRequired = "${mergeIgnoreCommentRequired}"; // 忽略意见必填
			var mergeAttitude = "${mergeAttitude}";  // 合并态度
			var mergeContent = "${mergeContent}";    // 合并意见
			//**************

			var canTrackWorkFlowValue = 0;
			<c:if test="${vobj.template eq null || (vobj.template ne null && vobj.template.canTrackWorkflow eq 0)}">
				canTrackWorkFlowValue = 0;
			</c:if>
            <c:if test="${vobj.template ne null && vobj.template.canTrackWorkflow eq 1}">
            	canTrackWorkFlowValue = 1;
            </c:if><%--追溯 --%>
            <c:if test="${vobj.template ne null && vobj.template.canTrackWorkflow eq 2}">
            	canTrackWorkFlowValue = 2;
            </c:if><%--不追溯 --%>

			var cashId = '${ctp:escapeJavascript(cashId)}';
			// 判断【存为模板】按钮是否已被点击
			var saveBtnIsLock = false;
			//文件密级值
			var chooseSecretLevel = "${chooseSecretLevel}";
			<c:if test="${hookResults ne null && hookResults ne ''}" >
				var hookResults = JSON.parse('${hookResults}');
			</c:if>
			var writeLock='${writeLock}' == 'true';
			var writeLockMsg= "${writeLockMsg}";
	</script>

	<%-- 插件相关的 CSS/JS 文件 --%>
	<%@ include file="/WEB-INF/jsp/apps/collaboration/merge-PluginResourceLoad.jsp"%>
</head>
<body class="h100b page_color" onunload="removeSessionMasterData('${vobj.summary.formRecordid}');pageUnload();">
<c:if test="${(vobj.summary.bodyType eq '20') && scanCodeInput eq '1' && (hasBarCodePlug || !isCAP4)}">
	<a style="margin-top: 0; display: inline;z-index: 2;" id="GoTo_Top_scan" class="GoTo_Top_scan" title="二维码" href="javascript:void(0)" onclick="barCode()"></a>
</c:if>
<form method="post" id="sendForm"  name="sendForm" action='${path}/collaboration/collaboration.do?method=send&from=${ctp:escapeJavascript(param.from)}&reqFrom=${fn:escapeXml(param.reqFrom)}' class="h100b">
    <div class="newColl_layout" id='newColl_layout'>
    	<!-- 左侧 -->
    	<div class="newColl_layout_left">
	        <div class="toolbarArea" style="white-space:nowrap;">
	            <%--toolbar--%>
			    <div class="padding_l_5 left">
				    <div id="toolbar" style="padding-left:12px;"></div>
					<span class="more_style more_style_position right margin_l_5"  id="moreLabel">
						<a class="margin_l_5">${ctp:i18n('collaboration.common.flag.more')} </a>
						<span class="ico16 arrow_2_b"></span>
					</span>
			    </div>
			    <%--toolbar结束--%>
				<%-- V5-17929 新建权限配置较多动作时，新建协同调用模板后，密级被遮挡，如图 將密級管理放到centerbarArea中 --%>

<%--				<c:if test="${secretLevelAble}" >--%>
<%--					<div class="col_cell" style="margin-left: 20px;height: 40px;line-height: 40px;font-size: 12px;">--%>
<%--						<div class="coll_label left" style="margin-left: 20px;width:50px;text-align: right;">--%>
<%--							<span title="${ctp:i18n('common.attachment.secretLevel.label')}">${ctp:i18n('common.attachment.secretLevel.label')}：</span>--%>
<%--						</div>--%>
<%--						<div class="coll_content" style="margin-left:50px;padding-top: 5px;">--%>
<%--							<div class="common_selectbox_wrap" style="width:110px;">--%>
<%--								<select name="secretLevel" id="secretLevel" style="width: 100%" class="comp comp_select" comp="type:'CtpUiComSelect',isInLayer:true">--%>
<%--									<option value="" <c:if test="${empty chooseSecretLevel}">selected</c:if>>${ctp:i18n('common.select.choose')}</option>--%>
<%--									<c:forEach items="${secretLevels}" var="secretLevel" >--%>
<%--										<option value="${secretLevel.value}" <c:if test="${chooseSecretLevel == secretLevel.value}">selected</c:if>>${secretLevel.name}</option>--%>
<%--									</c:forEach>--%>
<%--								</select>--%>
<%--							</div>--%>
<%--						</div>--%>
<%--					</div>--%>
<%--				</c:if>--%>

			    <c:if test="${param.openFrom eq 'listPending'}">
			    <a id="deleteDrafPendingBtn" onclick="_initPageElUtils.deleteDraftPending()" style="position: absolute;right: 350px;z-index: 10;top: 8px;right: 10px;" href="javascript:void(0)" class="common_button">${ctp:i18n('collaboration.label.deleteDrafPending')}<!-- 待办不显示 --></a>
			    </c:if>
	        </div>
	        <div class="centerbarArea" id="centerBar" style="overflow-y:hidden;background:#fff;">
	        	<div id="north_area_h">
				    <!--当前位置-->
				    <c:if test="${from eq '' or from eq 'report' or
	                    (from ne 'a8genius' and vobj.from ne 'bizconfig' and from ne 'peopleCard' )}">
	                    <div class="comp" comp="type:'breadcrumb',comptype:'location',code:'F01_newColl'"></div>
	                </c:if>
	                 <c:if test="${vobj.from eq 'bizconfig'}">
	                    <div class="comp" comp="type:'breadcrumb',comptype:'location'"></div>
	                </c:if>

				    <!-- <div id="colMainData" class="form_area new_page"> -->
				    <div id="colMainData" class="form_area padding_t_10">
				        <c:set var="resentTime" value="${vobj.summary.resentTime}" />
					    <c:if test="${param.from eq 'resend'}">
						    <c:set var="resentTime" value="${vobj.summary.resentTime + 1}" />
					    </c:if>
					    <c:set value="${(isSystemTemplete or not empty vobj.temformParentId)}" var="isFromSystem"/>
					    <c:set value="${isFromSystem ? (not empty vobj.temformParentId) ? vobj.temformParentId : vobj.template.id : ''}" var="tempId" />
					    <input type="hidden" id="temformParentId" name="temformParentId" value="${vobj.temformParentId}" />
					    <input type="hidden" id="resend" name="resend" value="${vobj.resendFlag}" />
					    <input type="hidden" id="newBusiness" name="newBusiness" value="${vobj.newBusiness}" />
					    <input type="hidden" id="id" name="id" value='${fn:escapeXml(vobj.summaryId)}'/>
					    <input type="hidden" id="parentSummaryId" name="parentSummaryId" value='${parentSummaryId}'/>
						<input type="hidden" id="attachmentArchiveId" name="attachmentArchiveId" value='${vobj.summary.attachmentArchiveId}'/>
					    <input type="hidden" id="tId" name="tId" value='${tempId}'/>
					    <INPUT TYPE="hidden" id="curTemId" name="curTemId" value="${curTemplateID}" />
					    <input type="hidden" id="resentTime" name="resentTime" value="${resentTime}"/>
					    <input type="hidden" id="archiveId" name="archiveId" value="${vobj.summary.archiveId}" />
					    <input type="hidden" id="prevArchiveId" name="prevArchiveId" value="${vobj.summary.archiveId}" />
					    <!-- 当前处理人信息 -->
					    <input type="hidden" id="currentNodesInfo" name="currentNodesInfo" value="${vobj.summary.currentNodesInfo}" />
						<input type="hidden" id="isCap4Forward" name="isCap4Forward" value="${isCap4Forward }" />
					    <input type="hidden" id="tembodyType" name="tembodyType" value="${vobj.template.bodyType}" />
					    <input type="hidden" id="formtitle" name="formtitle" value="${ctp:toHTML(vobj.formtitle)}" />
					    <input type="hidden" id="saveAsTempleteSubject" name="saveAsTempleteSubject" value="">
					    <input type="hidden" id="phaseId" name="phaseId" value="${projectPhaseId}" />
	                    <input type="hidden" id="caseId" name="caseId" value="${vobj.summary.caseId }">
	                    <input type="hidden" id="currentaffairId" name="currentaffairId" value="${ctp:toHTML(vobj.affairId) }">
	                    <input type="hidden" id="createDate" name="createDate" value="${ctp:formatDateByPattern(vobj.createDate, 'yyyy-MM-dd HH:mm:ss')}" />
	                    <input type="hidden" id="useForSaveTemplate" name="useForSaveTemplate" value='no'/>
	                    <input type="hidden" id="oldProcessId" name="oldProcessId" value="${vobj.processId }"/>
	                    <input type="hidden" id="temCanSupervise" name="temCanSupervise" value="${vobj.template.canSupervise}" />
	                    <input type="hidden" id="forwardMember" name="forwardMember" value="${vobj.summary.forwardMember}" />
	                    <input type="hidden" id="saveAsFlag" name="saveAsFlag"/>
	                    <input type="hidden" id='transtoColl' name='transtoColl' value='0'/>
	                    <input type="hidden" id='bzmenuId' name='bzmenuId' value='${ctp:escapeJavascript(param.menuId)}'/>
	                    <input type="hidden" id='newflowType' name='newflowType' value='${vobj.summary.newflowType}'/>
	                    <input type="hidden" id='contentViewState' name='contentViewState' value='${contentViewState}'/>
	                    <input type="hidden" id="isOpenWindow" name="isOpenWindow" value=""/>
	                    <input type="hidden" id='canTrackWorkFlow' name='canTrackWorkFlow'/>
	                    <input type="hidden" id="bodyType" name="bodyType"/>
	                    <input type="hidden" id="formRecordid" name="formRecordid"/>
	                    <input type="hidden" id="formAppid" name="formAppid" value="${vobj.template.formAppId}"/>
	                    <input type="hidden" id="formViewOperation" name="formViewOperation" value="${zwRightId}"/>
	                    <input type="hidden" id="formParentid" name="formParentid" value="${vobj.template.formParentid}"/>
	                    <input type='hidden' id="replyCounts" name="replyCounts" value="${vobj.summary.replyCounts}"/>

	                    <input type="hidden" id="contentSaveId" name="contentSaveId"/>
	                    <input type="hidden" id="contentDataId" name="contentDataId"/>
	                    <input type="hidden" id="contentTemplateId" name="contentTemplateId"/>
	                    <input type="hidden" id="contentRightId" name="contentRightId"/>
	                    <input type='hidden' id='contentZWID' name="contentZWID" value="0"/>
	                    <input type="hidden" id='contentSwitchId' name="contentSwitchId" value=""/>
	                    <input type="hidden" id='DR' name="DR" value="${DR}"/>
	                    <input type="hidden" id='messageRuleId' name="messageRuleID" value="${vobj.summary.messageRuleId}"/>
	                    <%--高级归档 --%>
	                    <input type="hidden" id="advancePigeonhole" name="advancePigeonhole" value="${v3x:toHTML(vobj.advancePigeonhole)}"/>
	                    <input type='hidden' id='contentIdUseDelete' name="contentIdUseDelete" value="0">
	                    <input type="hidden" id="canAddComment" name="canAddComment" value="${vobj.summary.canAddComment}"/><%-- 是否可添加附言 --%>
	                    <input type="hidden" id="referType" name="referType" value="${ctp:toHTML(vobj.referType)}" />   <!-- 新建穿透-来源 -->
	                    <input type="hidden" id="referId" name="referId" value="${ctp:toHTML(vobj.referId)}" /> <!-- 新建穿透-标识 -->
	                    <input type="hidden" id="mergeAttitude" name="mergeAttitude" value="${mergeAttitude}" />
	                    <input type="hidden" id="mergeContent" name="mergeContent" value="${mergeContent}" />

						<div class="coll_main_div">
							<div class="row_record">
								<div class="col_cell title_cell">
									<div class="coll_label left" style="width:50px;text-align: right;">
										<span>${ctp:i18n('collaboration.newcoll.title')}</span>
									</div>
									<div class="coll_content" style="margin-left:50px;" style="position:relative;top:1px;">
									    <div class="common_txtbox_wrap" style="height:28px;">
									         <c:choose>
											    <c:when test="${vobj.collSubjectNotEdit == 'true'}">
				                                    <!-- 标题 -->
								                  <input  id="subject" inputName="${ctp:i18n('common.subject.label')}" class="w100b"  type="text"  name="subject" title="${ctp:i18n('collaboration.newcoll.clickfortitle')}" value="${fn:escapeXml(vobj.collSubject)}" readonly="readonly"style="height:26px;line-height:26px;"/>
								           	    </c:when>
								           	    <c:otherwise>
				                                    <!-- 标题 -->
								                    <input  id="subject" inputName="${ctp:i18n('common.subject.label')}" class="w100b" type="text" name="subject" title="${ctp:i18n('collaboration.newcoll.clickfortitle')}" value="${fn:escapeXml(vobj.summary.subject)}" defaultValue="${ctp:i18n('common.default.subject.value2')}" style="height:26px;line-height:26px;"/>
											    </c:otherwise>
								            </c:choose>
										</div>
									</div>
								</div>

							<div class="col_cell"  style="width:100px;margin-left:10px;">
								 	<div class="common_selectbox_wrap" style="width:90px">
										<select name="importantLevel" id="importantLevel" class="comp comp_select" comp="type:'CtpUiComSelect'" >
											<v3x:metadataItem itemList="${comImportanceMetadata}"
															  showType="option" name="importantLevel"
															  selected="${vobj.summary.importantLevel == null ? 1 : vobj.summary.importantLevel}" />
										</select>
									</div>
							</div>
	
							<%-- V5-17929 新建权限配置较多动作时，新建协同调用模板后，密级被遮挡 --%>
							<%-- 如果开启密级管理，这里将显示密级选择框，否则显示关联项目选择框 --%>
							<c:if test="${secretLevelAble}" >
								<div class="col_cell" style="width:220px">
								<div class="coll_label left" style="width:92px;">
								${ctp:i18n('common.attachment.secretLevel.label')}：
								</div>
								<div class="coll_content"  style="margin-left:94px;">
								<div class="common_selectbox_wrap" style="width:120px;">
								<select name="secretLevel" id="secretLevel" style="width: 100%" class="comp comp_select" comp="type:'CtpUiComSelect',isInLayer:true">
								<option value="" <c:if test="${empty chooseSecretLevel}">selected</c:if>>${ctp:i18n('common.select.choose')}</option>
								<c:forEach items="${secretLevels}" var="secretLevel" >
									<option value="${secretLevel.value}" <c:if test="${chooseSecretLevel == secretLevel.value}">selected</c:if>>${secretLevel.name}</option>
								</c:forEach>
								</select>
								</div>
								</div>
								</div>
							</c:if>
							<c:if test="${secretLevelAble==false}">
								<c:choose>
									<c:when test="${(v3x:getSysFlagByName('col_showRelatedProject') == 'false')}">
										<input type="hidden" id="projectId" name="projectId" value="${vobj.projectId}">
									</c:when>
									<c:otherwise>
						
										<div class="col_cell" style="width:220px">
										<div class="coll_label left" style="width:92px;">
										<c:if test="${ctp:hasPlugin('project')}">
											${ctp:i18n('collaboration.newcoll.relatepro')}
										</c:if>
										</div>
										<div class="coll_content"  style="margin-left:94px;width:120px;">
										<c:if test="${ctp:hasPlugin('project')}">
											<div class="common_selectbox_wrap" id="selectRelatepro"></div>
											<input type="hidden" id="projectId" name="projectId" value="${vobj.projectId}">
										</c:if>
										</div>
										</div>
						
									</c:otherwise>
								</c:choose>
							</c:if>
							</div>

							<div class="row_record" style="margin-top:6px;height:auto;">

								<div class="col_cell title_cell">
									<div class="coll_label left" style="width:50px;text-align: right;">
										<span>${ctp:i18n('collaboration.newcoll.lc')}</span>
									</div>
									<div class="coll_content" style="margin-left:50px;">
									     <div id="process_info_div" class="common_txtbox_wrap <c:choose><c:when test="${((onlyViewWF && isSystemTemplete) || vobj.parentWrokFlowTemplete || vobj.parentColTemplete) && nonTextTemplete || subState eq '16'}">common_txtbox_wrap_dis</c:when></c:choose>">
	                                    <c:set var="isDisable" value="${((onlyViewWF && isSystemTemplete) || vobj.parentWrokFlowTemplete || vobj.parentColTemplete) && nonTextTemplete || subState eq '16'}" />
	                                <input readonly="readonly" class="w100b validate" type="text" id="process_info" style="cursor: auto"
	                                defaultValue="${ctp:i18n('collaboration.default.workflowInfo.value')}"
	                                    <c:choose><c:when test="${isDisable}">disabled</c:when><c:otherwise>style="color: black;"</c:otherwise></c:choose>
	                                    value="<c:out value='${contentContext.workflowNodesInfo}'></c:out>" name="process_info"
	                                    title="<c:choose><c:when test="${isDisable}">${ctp:i18n('collaboration.newcoll.clickforprocess1')}</c:when><c:otherwise>${ctp:i18n('collaboration.newcoll.clickforprocess')}</c:otherwise></c:choose>
	                                    "/>
	                                </div>
									</div>
								</div>


								<div class="col_cell"  style="width:100px;margin-left:10px;">
									 <div id="workflowInfo" onclick="workflowClick()" style="width:88px">
					                	<c:set var="varWfProcessId" value="${empty contentContext.wfProcessId ? '-1' : contentContext.wfProcessId}"/>
					                	<c:set var="varFinalWfProcessId" value="${contentContext.processTemplateId ==null || contentContext.processTemplateId eq -1  ? varWfProcessId  : contentContext.processTemplateId}"/>
	                                    <input type="hidden" id="varFinalWfProcessId" name="varFinalWfProcessId" value="${varFinalWfProcessId}">
	                                    <c:if test="${subState ne '16'}">
					            	    <a id="workflow_btn"  comp="type:'workflowEdit',defaultPolicyId:'${defaultNodeName }',defaultPolicyName:'${defaultNodeLable }',moduleType:'${contentContext.moduleTypeName}',<c:if test="${vobj.templeteId ne null && vobj.fromSystemTemplete && vobj.template.type ne 'text'}">isTemplate:true,</c:if><c:if test="${((onlyViewWF && isSystemTemplete)  || vobj.parentWrokFlowTemplete || vobj.parentColTemplete) && nonTextTemplete}">isView:true,</c:if>workflowId:'${varFinalWfProcessId}',canExePrediction:'${isNewFormPage && ctp:hasPlugin('workflowAdvanced')}',SPK:'freeFlow'"
	                                            class="common_button common_button_icon comp edit_flow" href="#">
	                                            <c:if test="${!((onlyViewWF && isSystemTemplete) || vobj.parentWrokFlowTemplete || vobj.parentColTemplete) || vobj.template.type eq 'text'}">${ctp:i18n('common.design.workflow.label')}</c:if><c:if test="${((onlyViewWF && isSystemTemplete) || vobj.parentWrokFlowTemplete || vobj.parentColTemplete)&& nonTextTemplete}">${ctp:i18n('collaboration.newColl.findFlow')}</c:if></a><!-- 查看流程 -->
	                                    </c:if>
	                                    <c:if test="${subState eq '16'}">
	                                        <a id="workflow_btn"  comp="type:'workflowEdit',defaultPolicyId:'${defaultNodeName }',defaultPolicyName:'${defaultNodeLable }',moduleType:'${contentContext.moduleTypeName}',isTemplate:false,canExePrediction:'${isNewFormPage && ctp:hasPlugin('workflowAdvanced')}',isView:true,workflowId:'${varFinalWfProcessId}',caseId : '${contentContext.wfCaseId==null ? "-1" : contentContext.wfCaseId}',SPK:'freeFlow'"
	                                            class="common_button common_button_icon comp edit_flow" href="#">
	                                            ${ctp:i18n('collaboration.newColl.findFlow')}</a><!-- 查看流程 -->
	                                    </c:if>
					                </div>
								</div>


								<div class="col_cell" style="width:220px">
									<div class="coll_label left" style="width:92px;">
										<c:if test="${ctp:hasPlugin('doc')}">
					            				${ctp:i18n('collaboration.newcoll.ygdd')}
					            	</c:if>
									</div>
									<div class="coll_content" style="margin-left:94px;">
										<c:if test="${ctp:hasPlugin('doc')}">
						          	    <div class="common_selectbox_wrap" style="width:120px" title="${ctp:toHTML(vobj.archiveAllName)}">
											<%--预归档--%>
											<c:set var="isPrePighole" value="${vobj.archiveName ne null && vobj.archiveName ne '' && vobj.fromTemplate == true  && (isSystemTemplete && vobj.template.type == 'template' || vobj.parentColTemplete)}"/>
						          	  	 	<input type="hidden" name="isTemplateHasPigeonholePath" id="isTemplateHasPigeonholePath" value="${isPrePighole}"/>

							          	    <select id="colPigeonhole" class="input-100per comp comp_select" comp="type:'CtpUiComSelect'" onchange="pigeonholeEvent(this)"
										        ${isPrePighole || setDisabled ? 'disabled=disabled' : "" }>
										        <option id="defaultOption" value="1">${ctp:i18n('common.default')}</option>
		                                        <!-- 请选择 -->
										        <option id="modifyOption" value="2">${ctp:i18n('common.pleaseSelect.label')}</option>
										        <c:if test="${vobj.archiveName ne null && vobj.archiveName ne ''}" >
										    	    <option value="3" selected>${ctp:toHTML(vobj.archiveName)}</option>
										        </c:if>
										    </select>

	                                  		</div>
									 </c:if>

									</div>
							    </div>

							</div>

							<div class="row_record" style="margin-top:2px;">
									<div class="col_cell" style="margin-left:10px;">
									   	<span style="display:inline-block; margin-left:2px; ">
						            		<c:if test="${newColNodePolicyVO.uploadAttachment}">
	<%--											<div id="upload" class="left"></div>--%>
							            		<!-- <span class="font_size12 color_666 margin_r_20 hand" onclick="insertAttachmentPoi('Att')">
							            			<span class="ico16 affix_16 margin_b_5"></span>
							            			${ctp:i18n('common.upload.attachment.label')}
							            		</span> -->
							            		<span id="upload" style="display:inline-block;"></span>
						            		</c:if>
						            		<c:if test="${newColNodePolicyVO.uploadRelDoc}">
							            		<span class="font_size12 color_666 hand" onclick="quoteDocument('Doc1')">
							            			<span class="syIcon sy-associated_document margin_b_5"></span>
							            			<span style="color:#333">${ctp:i18n('common.toolbar.insert.mydocument.label')}</span>
							            		</span>
											</c:if>
						            	</span>
								    </div>



									<div class="col_cell right" style="padding-right:2px;float:right">
									  <span class="padding_r_25 right"  style="display:inline-block;text-align:right; ">
						            	<a id="show_more" class="clearfix" style="width:100px;">
						            		<span class="syIcon sy-setting"></span>
						            		<span style="position:relative;top:-2px;font-size:12px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#666666;line-height:17px;">${ctp:i18n('collaboration.setting.more.label')}</span> <!-- 更多设置 -->
						            	</a>
						            </span>
								    </div>


							</div>

						</div>

				             <!--更多-->
	 					<div id="moreInfoBodyDiv">
							<div id="moreInfoDiv" style="display:none;font-size:12px;line-height:28px;">
								<div class="leftCell left" style="width:50%">
									<div class="go_panel track_cell">
										<div class="title">
											<span class="ctpUiCheckbox">
												<input id="canTrack" name="canTrack" onclick="trackOrnot()" value="1"  class="radio_com" type="checkbox">
												<label style="font-weight:bold;" for="canTrack" class=""><i></i>${ctp:i18n('collaboration.newcoll.gz')}</label>
											</span>
										</div>
										<div class="content">
											<div>
												<span class="" id="radioallSpan">
													<label class="margin_r_10 hand disabled_color" for="radioall">
														<input id="radioall" name="radioperson" onclick="_hiddenPartTrackNameInput()" value="0" type="radio"  disabled="disabled" class="radio_com">${ctp:i18n('collaboration.newcoll.allpeople')}
													</label>
												</span>
											</div>
											<%--	指定人--%>
											<div>
												<div style="float:left;">
												<label class="margin_r_10 hand disabled_color" for="radiopart">
													<input id="radiopart" name="radioperson"  onclick="trackPart()" value="0" type="radio" disabled="disabled" class="radio_com">${ctp:i18n('common.pending.designated.personnel')}
												</label>
												<input type="hidden" id="zdgzry" name="zdgzry" />
		</div>
												<div class="common_txtbox_wrap " style="display: none;width:122px;float:left;" 	id="zdgzryNameDiv"	>
													<input type="text" style="width:131px;" id="zdgzryName" readonly name="zdgzryName" comp="type:'CtpUiSuffixBtnInput',pattern:'icon',icon:'syIcon sy-choose-persons1'"  class="comp" size="15" onclick="$('#radiopart').click()"/>
											  </div>
											</div>
										</div>
									</div>

									  <!-- 允许操作 -->
									<div class="go_panel operation_cell" style="margin-top:22px;">
										<div class="title" style="font-weight:bold;">${ctp:i18n('collaboration.newcoll.yxcz')}</div>
										<div class="content">
											<span class="ctpUiCheckbox" style="width:72px;">
												<input type="checkbox" value="1" id="canForward" ${(vobj.fromTemplate == true || vobj.form == true)&&nonTextTemplete && notworkflowTemplate && isSystemTemplete ? 'disabled=disabled' : ""} class="radio_com" type="checkbox" ${vobj.summary.canForward ? 'checked' : ''}>
												<label for="canForward" class=""><i></i>${ctp:i18n('common.toolbar.transmit.label')}</label>
											</span>


											<c:if test="${ctp:hasPlugin('doc')}">
												<span class="ctpUiCheckbox" style="width:74px;">
													<input type="checkbox" value="1" id="canArchive" ${(vobj.fromTemplate == true || vobj.form == true) && nonTextTemplete && notworkflowTemplate && isSystemTemplete ? 'disabled=disabled' : ""} class="radio_com" type="checkbox" ${vobj.summary.canArchive ? 'checked' : ''}>
													<label for="canArchive" class=""><i></i>${ctp:i18n('common.toolbar.pigeonhole.label')}</label>
												</span>
											</c:if>

											   <!--规则：系统流程模板改变流程置灰   其余4个都可以修改，不置灰的。
	                                		系统格式模板改变流程可以修改不置灰，其他都灰色不能修改。-->

											<span class="ctpUiCheckbox">
												<input type="checkbox" value="1" id="canEditAttachment" ${vobj.fromTemplate == true && nonTextTemplete && notworkflowTemplate && isSystemTemplete ? 'disabled=disabled' : ""} class="radio_com" type="checkbox" ${vobj.summary.canEditAttachment ? 'checked' : ''}>
												<label for="canEditAttachment" class=""><i></i>${ctp:i18n('common.toolbar.updateAttachment.label')}</label>
											</span>

											<span class="ctpUiCheckbox">
												<input type="checkbox" value="1" id="canEdit" ${vobj.fromTemplate == true && nonTextTemplete && notworkflowTemplate && isSystemTemplete ? 'disabled=disabled' : ""} class="radio_com" type="checkbox" ${vobj.summary.canEdit ? 'checked' : ''}>
												<label for="canEdit" class=""><i></i>${ctp:i18n('common.detail.label.editContent')}</label>
											</span>

										    <span class="ctpUiCheckbox">
												<input type="checkbox" value="1" id="canModify"  ${(vobj.fromTemplate == true || vobj.form == true) && nonTextTemplete && isSystemTemplete ? 'disabled=disabled' : ""} class="radio_com" type="checkbox" <c:if test="${vobj.summary.canModify}">checked</c:if> >
												<label for="canModify" class=""><i></i>${ctp:i18n('collaboration.newcoll.gblc')}</label>
											</span>


											<c:if test="${isSystemTemplete}">
											<span class="ctpUiCheckbox">
												<input type="checkbox" value="1" id="canDeleteNode" disabled="disabled" class="radio_com" checked='checked' type="checkbox">
												<label for="canDeleteNode" class=""><i></i>${ctp:i18n('collaboration.allow.template.delete.node.label')}</label>
											</span>
											</c:if>
								         </div>
								     </div>

								     <div class="go_panel operation_cell" style="margin-top:22px;">
	                                    <div class="title" style="font-weight:bold;">${ctp:i18n("template.autoSkip.merge.title")}:</div> <!-- 合并处理策略 -->
	                                    <div class="content">
											<span class="ctpUiCheckbox">
												<input type="checkbox" value="2" disabled="disabled" id="canStartMerge" <c:if test="${canStartMerge}">checked</c:if> >
												<label for="canStartMerge" class=""><i></i>${ctp:i18n("template.autoSkip.startMerge")}</label>
											</span>

											<span class="ctpUiCheckbox">
												<input type="checkbox" value="3" disabled="disabled" id="canPreDealMerge" <c:if test="${canPreDealMerge}">checked</c:if> >
												<label for="canPreDealMerge" class=""><i></i>${ctp:i18n("template.autoSkip.preDealMerge")}</label>
											</span>

										    <span class="ctpUiCheckbox">
												<input type="checkbox" value="4" disabled="disabled" id="canAnyDealMerge" <c:if test="${canAnyDealMerge}">checked</c:if> >
												<label for="canAnyDealMerge" class=""><i></i>${ctp:i18n("template.autoSkip.anyDealMerge")}</label>
											</span>

											<br />
											<span class="ctpUiCheckbox">
	                                            <input type="checkbox" value="1" disabled="disabled" id="mergeIgnoreCommentRequired" <c:if test="${mergeIgnoreCommentRequired eq '1'}">checked</c:if> >
	                                            <label for="mergeIgnoreCommentRequired" class=""><i></i>${ctp:i18n("template.autoSkip.ignore.comments.required")}</label> <!-- 忽略节点意见必填 -->
	                                        </span>

										    <br />
										    <label disabled="disabled">${ctp:i18n("template.autoSkip.comment.define")}</label> <%--定义合并处理意见--%>
										    <br />
										    <label>${ctp:i18n("template.autoSkip.comment.define.attitude")}： </label> <!-- 态度 -->
	                                        <span class="ctpUiRadio">
										        <input type="radio" disabled="disabled" value="" id="mergeAttitudeNull">
										        <label for="mergeAttitudeNull" class=""><i></i>${ctp:i18n("template.autoSkip.comment.define.empty")}</label> <!-- 空 -->
										    </span>
										    <span class="ctpUiRadio">
										        <input type="radio" disabled="disabled" value="1" id="mergeAttitudeDefault" >
										        <label for="mergeAttitudeDefault" class=""><i></i>${ctp:i18n("template.autoSkip.comment.define.attitude.nodedefault")}</label> <!-- 节点默认态度 -->
										    </span>
										    <span class="ctpUiRadio">
	                                            <input type="radio" disabled="disabled" value="2" id="mergeAttitudeLast" >
	                                            <label for="mergeAttitudeLast" class=""><i></i>${ctp:i18n("template.autoSkip.comment.define.attitude.last")}</label> <!-- 处理人上次处理态度 -->
	                                        </span>

	                                        <br />
	                                        <label>${ctp:i18n("common.opinion.label")}：</label> <!-- 意见 -->
	                                        <span class="ctpUiRadio">
	                                            <input type="radio" disabled="disabled" value="" id=mergeContentNull>
	                                            <label for="mergeContentNull" class=""><i></i>${ctp:i18n("template.autoSkip.comment.define.empty")}</label> <!-- 空 -->
	                                        </span>
	                                        <span class="ctpUiRadio">
	                                            <input type="radio" disabled="disabled" value="1" id="mergeContentLast">
	                                            <label for="mergeContentLast" class=""><i></i>${ctp:i18n("template.autoSkip.comment.define.comment.last")}</label> <!-- 处理人上次处理意见 -->
	                                        </span>

										</div>
									</div>
								</div>

								<div class="rightCell left" style="width:49%;padding-top:10px">
								        <%--流程期限 --%>
										<div class="row_record">
												<div class="col_cell left" style="width:60%">
													<div class="coll_label left" style="width:80px;text-align: right;">
														<span>${ctp:i18n('collaboration.newcoll.lcqx')}</span>
													</div>
													<div class="coll_content" style="margin-left:80px;">
														  <c:set value= "${vobj.templeteHasDeadline && (isSystemTemplete || vobj.parentColTemplete || vobj.parentTextTemplete || vobj.parentWrokFlowTemplete || vobj.fromSystemTemplete)}" var ="isDisabled"/>
															  <div class="common_selectbox_wrap" style="width:110px;">
																<select name="deadlineTemplate" id="deadlineTemplate" ${isDisabled ? 'disabled=disabled' : ''} style="width: 100%" class="comp comp_select" comp="type:'CtpUiComSelect',isInLayer:true">
																	<%-- <v3x:metadataItem itemList="${collaborationDeadlines}" showType="option" name="deadline" selected="${vobj.summary.deadline == null ? 0 : vobj.summary.deadline}" /> --%>
																	<c:forEach items="${deadlines}" var="deadlineValue" >
																		<option value="${deadlineValue[0]}" <c:if test="${(vobj.summary.deadlineTemplate == null && '0' == deadlineValue[0]) || vobj.summary.deadlineTemplate == deadlineValue[0]}">selected</c:if>>${deadlineValue[1]}</option>
																	</c:forEach>
																</select>
															</div>
													</div>
												</div>
												<div class="col_cell left">
													<%--	如果自定义的时候 选择相应的日期--%>
													<div id="deadLineCalender" style="display:none">
												   <input id="deadLineDateTime" type="text" style="width:131px;" class="comp" comp="type:'CtpUiCalendarObj',hasIcon:true,ifFormat:'%Y-%M-%d %H:%i',showsTime:true,onUpdate:checkDeadLineDateTime">
													</div>
													<input type="hidden" name="deadLineDateTimeHidden" id="deadLineDateTimeHidden" value="${vobj.deadLineDateTimeHidden}" />
												</div>

										</div>
										<div class="row_record">
											<div class="col_cell left" style="width:60%">
													<div class="coll_label left" style="width:80px;text-align: right;">
														<span>${ctp:i18n('collaboration.newcoll.beforetx')}</span>
													</div>
													<div class="coll_content" style="margin-left:80px;">
														   	<div class="common_selectbox_wrap" style="width:110px;">
																<c:set  var ="reminddiabled"  value="${vobj.templeteHasRemind && (isSystemTemplete || vobj.parentColTemplete || vobj.parentTextTemplete || vobj.parentWrokFlowTemplete || vobj.fromSystemTemplete)}" />
																<select name="advanceRemind" id="advanceRemind" ${reminddiabled ? 'disabled=disabled' : ''} style="width: 100%" class="comp comp_select" comp="type:'CtpUiComSelect',isInLayer:true">
																	<v3x:metadataItem itemList="${commonRemindTimes}" showType="option" name="deadline" selected="${vobj.summary.advanceRemind}" />
																</select>
															</div>
													</div>
												</div>


										</div>
										<div class="row_record" style="padding-left:20px;">
										  <label class="hand" for="remindTime">
	                                        <%--流程期限到时循环提醒 --%>
					                        	<c:set value= "${isSystemTemplete || vobj.parentColTemplete || vobj.parentTextTemplete || vobj.parentWrokFlowTemplete || vobj.fromSystemTemplete}" var ="formSystemTemplate"/>
					                        	<c:set var="remindIntervalDisble" value="${((vobj.summary.deadlineTemplate == null || vobj.summary.deadlineTemplate == '0') || (formSystemTemplate && vobj.templateHasRemindInterval) || (formSystemTemplate&&processTremTypeHasValue)) ? 'disabled' :'' }"></c:set>
					                        	<c:set var="remindIntervalChecked" value="${remindIntervalHasValue? 'checked' :'' }"></c:set>
												<%--超期后重复提醒--%>
												<span class="ctpUiCheckbox">
													<input type="checkbox" value="1" id="remindIntervalCheckBox"  ${remindIntervalChecked}  name="remindIntervalCheckBox" ${remindIntervalDisble}>
													<label for="remindIntervalCheckBox" class=""><i></i>${ctp:i18n('collaboration.worklfow.overtime.title.label')}</label>
												</span>
	                                        </label>

										</div>


										<div class="row_record" style="padding-left:20px;">
											<span class="left">${ctp:i18n('collaboration.worklfow.overtime.title.each')}</span> <!-- 每 -->
											<div class="col_cell left">
												<%--	超期后重复提醒的时间设置 --%>
											   	<div class="common_selectbox_wrap" style="width:75px;">
													<select style="width:60px" name="remindInterval" id="remindInterval"   class="codecfg margin_l_5" ${remindIntervalDisble=='disabled' || !remindIntervalHasValue?'disabled':'' }
																codecfg="codeId:'common_remind_time',defaultValue:'${vobj.summary.remindInterval=='-1' || vobj.summary.remindInterval==''?'0':vobj.summary.remindInterval}'">
													</select>
												</div>
	                                          </div>
												<div class="col_cell left" style="margin-left:1px;">
													<lable title="${ctp:i18n('collaboration.worklfow.overtime.title.end')}">
														${ctp:i18n('collaboration.worklfow.overtime.title.end')}
													</lable>
												</div>

										</div>

										<div class="row_record">
											 <div class="common_checkbox_box clearfix left " style="padding-left:20px;text-align:left;display:inline-block;">

												<div class="col_cell left">
													<%--流程期限到时自动终止撤销 --%>
													<c:set var="processTermTypeDisble" value="${((vobj.summary.deadlineTemplate == null || vobj.summary.deadlineTemplate == '0') || (formSystemTemplate && vobj.templateHasProcessTermType) || (formSystemTemplate && remindIntervalHasValue))? 'disabled' :'' }"></c:set>
													<c:set var="processTermTypeChecked" value="${processTremTypeHasValue? 'checked' :'' }"></c:set>
													 <span class="ctpUiCheckbox">
														<input type="checkbox" value="1" id="processTermTypeCheck" ${processTermTypeChecked} name="processTermTypeCheck" ${processTermTypeDisble}>
														<label for="processTermTypeCheck" class=""><i></i>${ctp:i18n('collaboration.auto.title')}</label>
													</span>
												</div>
												<div class="col_cell left">
													<div class="common_selectbox_wrap" style="width:160px;">
														<select id="processTermType" style="width:73px"  class="comp comp_select" comp="type:'CtpUiComSelect',isInLayer:true"  name="processTermType" <c:if test="${processTermTypeDisble=='disabled' || !processTremTypeHasValue}">disabled</c:if> >
															<option value="0" ${vobj.summary.processTermType eq '0'?'selected':'' } >${ctp:i18n('collaboration.auto.stop')}</option>
															<option value="1" ${vobj.summary.processTermType eq '1'?'selected':'' } >${ctp:i18n('collaboration.auto.repeal')}</option>
														</select>
													</div>
												</div>
											</div>
										</div>
										<div class="row_record bottom_reocrd" style="margin-top:20px;">
										<!-- 督办人员 -->
											<div class="col_cell">
													<div class="coll_label left" style="text-align: right;">
														<span>${ctp:i18n('collaboration.newcoll.dbry')}</span>
													</div>
													<div class="coll_content">

														<input type="hidden" name="unCancelledVisor" id="unCancelledVisor" value="${_SSVO.unCancelledVisor }">
														<input type="hidden" name="supervisorIds" id="supervisorIds" value="${_SSVO.supervisorIds }"/>
														<input type="hidden" name="detailId" id="detailId" value="${_SSVO.detailId}" />

														  <div class="common_txtbox_wrap " style="width:242px;">
															<%--允许发起人设置督办人  <c:if test="${vobj.template ne null && !vobj.template.canSupervise}">disabled</c:if> --%>
															<c:choose>
																<c:when test="${(vobj.template ne null && !vobj.template.canSupervise) || CurrentUser.externalType != 0}">
																	<input value="${_SSVO.supervisorNames}" type="text" disabled/>
																	<input type="hidden" id="supervisorNames"   name="supervisorNames" value="${_SSVO.supervisorNames}" >
																</c:when>
																<c:otherwise>
																	<input id="supervisorNames" style="width:242px"  name="supervisorNames" comp="type:'CtpUiSuffixBtnInput',pattern:'icon',icon:'syIcon sy-choose-persons1'" class="comp"  onclick="superviseNamesClick()" value="${_SSVO.supervisorNames}" type="text"/>
																</c:otherwise>
															</c:choose>
														</div>
													</div>
												</div>
										</div>
										<div class="row_record bottom_reocrd">

											<div class="col_cell left" style="width:100%">
													<div class="coll_label left" style="text-align: right;">
														<span>${ctp:i18n('supervise.col.deadline')}：</span>
													</div>
													<div class="coll_content">
														  <div class="common_txtbox_wrap">
															<%--允许发起人设置督办人  <c:if test="${vobj.template eq null || !vobj.template.canSupervise}">disabled</c:if> --%>
															<c:choose>
																<c:when test="${(vobj.template ne null && !vobj.template.canSupervise) || CurrentUser.externalType != 0}">
																	<input class="comp" value="${_SSVO.awakeDate}" type="text" disabled>
																	<input id="awakeDate" class="comp" value="${_SSVO.awakeDate}" type="hidden" >
																</c:when>
																<c:otherwise>
																<input id="awakeDate" class="comp" value="${_SSVO.awakeDate}" type="text" comp="type:'CtpUiCalendarObj',ifFormat:'%Y-%M-%d %H:%i',hasIcon:true,showsTime:true,onUpdate:checkAwakeDate" readonly>
																</c:otherwise>
															</c:choose>
														</div>
												</div>


	                                    </div>
										</div>
										<div class="row_record bottom_reocrd" style="margin-bottom:0;">
											  <%--督办主题 --%>
											    <div class="col_cell left" style="width:100%">
													<div class="coll_label left" style="text-align: right;">
														<span>${ctp:i18n('supervise.col.title')}：</span>
													</div>
													<div class="coll_content" style="height:32px;">
															<div class="common_txtbox_wrap" style="border:0">
															<c:choose>
																<c:when test="${(vobj.template ne null && !vobj.template.canSupervise) || CurrentUser.externalType != 0}">
																	<textarea class="w100b font_size12" title="${_SSVO.title}" style="height: 53px;resize:none;" disabled>${_SSVO.title}</textarea>
																	<input type="hidden" id="title" name="superviseTitle" value="${_SSVO.title}" >
																</c:when>
																<c:otherwise>
																	<textarea class="w100b font_size12"  title="${_SSVO.title}"  style="height: 28px;resize:none;margin-left:0;" id="title" name="superviseTitle">${_SSVO.title}</textarea>
																</c:otherwise>
															</c:choose>
															</div>
													</div>
												</div>
										</div>
	
										<%-- V5-17929 新建权限配置较多动作时，新建协同调用模板后，密级被遮挡 --%>
										<%--关联项目 当密级管理开启时，将在这里显示 --%>
										<c:if test="${secretLevelAble}">
											<c:choose>
												<c:when test="${(v3x:getSysFlagByName('col_showRelatedProject') == 'false')}">
													<input type="hidden" id="projectId" name="projectId" value="${vobj.projectId}">
												</c:when>
												<c:otherwise>
													<c:if test="${ctp:hasPlugin('project')}">
														<div class="row_record bottom_reocrd" style="margin-bottom:0;">
														<div class="col_cell left" style="width:100%">
														<div class="coll_label left" style="text-align: right;">
														<span>${ctp:i18n('collaboration.newcoll.relatepro')}</span>
														</div>
														<div class="coll_content" style="height:32px;">
														<div class="common_txtbox_wrap" style="border:0">
														<div class="common_selectbox_wrap" id="selectRelatepro"></div>
														<input type="hidden" id="projectId" name="projectId" value="${vobj.projectId}">
														</div>
														</div>
														</div>
														</div>
													</c:if>
												</c:otherwise>
											</c:choose>
										</c:if>
								</div>
							 </div>
						</div>

				            <div class="attachmentArea">
				            <div id="attachmentTRAtt" style="display:none;">
	                        <table border="0" cellspacing="0" cellpadding="0" width="100%" class="line_height180">
	                            <tr id="attList">
	                                <td class="align_right" valign="top" style="width: 38px">
	                                	<div class="div-float margin_t_5">
	                                	<em class="syIcon sy-attachment" style="color:#1F85EC;"></em>
	                                	</div>
	                                </td>
	                                <td valign="top" width="20" nowrap="nowrap"><div class="div-float margin_t_5 margin_r_5">(<span id="attachmentNumberDivAtt"></span>) </div></td>
	                                <td class="align_left">
	                                    <div id="attFileDomain"  class="comp" comp="type:'fileupload',attachmentTrId:'Att',applicationCategory:'1',canFavourite:false,canDeleteOriginalAtts:true,originalAttsNeedClone:${vobj.cloneOriginalAtts},callMethod:'insertAtt_AttCallback',delCallMethod:'insertAtt_AttCallback',takeOver:false,noMaxheight:true" attsdata='${vobj.attListJSON }'></div>
	                                </td>
	                            </tr>
	                        </table>
	                    </div>
	                    <div id="attachment2TRDoc1" style="display:none; margin-top:4px;">
	                        <table border="0" cellspacing="0" cellpadding="0" width="100%" class="line_height180">
	                            <tr id="docList">
	                                <td class="align_right" valign="top" style="width: 39px"><div class="margin_t_5"><span style="color:#1F85EC;" class="syIcon sy-associated_document"></span></div> </td>
	                                <td valign="top" width="20" nowrap="nowrap"><div class="div-float margin_t_5 margin_r_5">(<span id="attachment2NumberDivDoc1"></span>) </div></td>
	                                <td class="align_left">
	                                    <div class="comp" id="assDocDomain" comp="type:'assdoc',attachmentTrId:'Doc1',modids:'1,3',applicationCategory:'1',referenceId:'${vobj.summary.id}',canDeleteOriginalAtts:true,originalAttsNeedClone:${vobj.cloneOriginalAtts},callMethod:'insertAtt_AttCallback',delCallMethod:'insertAtt_AttCallback',noMaxheight:true" attsdata='${vobj.attListJSON }'></div>
	                                </td>
	                            </tr>
	                        </table>
	                    </div>
	                    </div>

	                </div>
	            </div>
	        <!--jsp:include page="/WEB-INF/jsp/common/content/content.jsp" /-->
	        <jsp:include page="/WEB-INF/jsp/common/content/workflow.jsp" />
	        <textarea id='formTextId' class='hidden'>${contentTextData}</textarea>
	        <div class="overflow_auto" id="contentAndComment" style="overflow-y:auto; background:#F3F3F3;">


	        <c:set var="zwIframeStyel" value="style='border: 0;width:100%;height:100%;display: block;' frameborder='0' marginheight='0' marginwidth='0'" />
	        <c:choose>
	             <c:when test="${isCAP4}">
					 <%--
					 <script type="text/javascript">
						zwIframeUrl = "${path }/common/cap4/template/display/pc/form/dist/index.html?_r=v&type=create&rightId=${zwRightId}&moduleId=${zwModuleId }&subState=${subState}&isSubFlow=${isSubFlow}&moduleType=1";
					</script>
					--%>
					<c:set var="cap4createOrBrowse" value="${isCap4Forward eq '1' ? 'browse':'create'}"/>
	                <iframe id='zwIframe' name='zwIframe' src="${path}/common/cap4/template/display/pc/form/dist/index.html?_r=v&type=${cap4createOrBrowse}&rightId=${zwRightId}&moduleId=${zwModuleId }&subState=${subState}&isSubFlow=${isSubFlow}&moduleType=1&sourceType=${sourceType}&sourceId=${sourceId}" ${zwIframeStyel} ></iframe>
	             </c:when>
				<c:when test="${writeLock == 'true'}">
					<iframe id='zwIframe' name='zwIframe' src=""  ></iframe>
				</c:when>
	             <c:otherwise>
					 <%--
					  <script type="text/javascript">
						   zwIframeUrl = "${path }/content/content.do?method=index&isFullPage=true&formpage=newcol&isNew=${zwIsnew}&moduleId=${zwModuleId}&moduleType=1&rightId=${zwRightId}&isSubFlow=${isSubFlow}&contentType=${zwContentType}&originalNeedClone=true&transOfficeId=${transOfficeId}&fromIframeName=newCollaboration<c:if test='${"" ne zwViewState}'>&subState=${subState}&viewState=${zwViewState}</c:if><c:if test='${"resend" eq param.from}'>&resend=true</c:if>&rnd=<%=java.lang.Math.random()%>${ctp:csrfSuffix()}";
					  </script>
					  --%>
				  <iframe id='zwIframe' name='zwIframe' src="${path }/content/content.do?method=index&isFullPage=true&formpage=newcol&isNew=${zwIsnew}&moduleId=${zwModuleId}&moduleType=1&rightId=${zwRightId}&isSubFlow=${isSubFlow}&contentType=${zwContentType}&originalNeedClone=true&transOfficeId=${transOfficeId}&fromIframeName=newCollaboration<c:if test='${"" ne zwViewState}'>&subState=${subState}&viewState=${zwViewState}</c:if><c:if test='${"resend" eq param.from}'>&resend=true</c:if>&rnd=<%=java.lang.Math.random()%>${ctp:csrfSuffix()}" ${zwIframeStyel} ></iframe>
				</c:otherwise>
        </c:choose>
           <c:if test="${isFormOffice && !isCAP4}">
                   <iframe id='zwOfficeIframe' hasLoad="false" name='zwOfficeIframe' src="${path }/collaboration/collaboration.do?method=tabOffice&fromIframeName=newCollaboration${ctp:csrfSuffix()}" style="width:100%;height:786px;display:none;" frameborder="0"></iframe>
           </c:if>
           <c:if test="${vobj.from  eq 'waitSend' and subState !='1'}">
           <ul class="content_view" style="background:#d8d9db; border-top: 1px solid transparent;">
           <jsp:include page="/WEB-INF/jsp/common/content/commentForSummary.jsp" />
           </ul>
           </c:if>
       </div>
          <div class="over_hidden" id="comment_deal" style="z-index:2; height: 41px; background:#F3F3F3; width:100%; text-align:center;position:absolute;bottom:0;display:none;">
               <input type="hidden" id="id" value="${commentSenderList[0].id}">
               <input type="hidden" id="pid" value="0">
               <input type="hidden" id="clevel" value="1"> <input type="hidden" id="path" value="00">
               <input type="hidden" id="moduleType" value="${contentContext.moduleType}">
               <input type="hidden" id="moduleId" value="${contentContext.moduleId}">
               <input type="hidden" id="extAtt1">
               <input type="hidden" id="relateInfo">
               <input type="hidden" id="ctype" value="-1">

               <table style="background:#F3F3F3;position: relative;width:786px;left: 50%;margin-left: -393px;" class="h100b" cellpadding="0" cellspacing="0" border="0">
                   <tr>
                       <td id="adtional" valign="middle" align="left" height="35" class="padding_t_5 font_size12">
                           <em id="adtional_ico" class="ico16 arrow_2_b msg_expansionIco margin_ico margin_b_5"></em>
                           <span class="adtional_text margin_t_5 font_size14 color_666">${ctp:i18n('common.postscript.label')}</span>
                       </td>
                   </tr>
                   <tr id="fuyan_area" class="hidden">
                       <td id="fuyan" valign="top" align="center" class="editadt_box padding_l_5">
                           <div class="fuyan_area_div">
                               <textarea style="width:766px; padding: 0 5px;font-size:12px; min-height:115px;border:0" class="h100b" id="content_coll" name="content_coll" onfocus="checkContent();" onblur="checkContentOut();"><c:forEach items="${commentSenderList}" var="csl"><c:out value="${csl.content}"></c:out><c:out value="${__huanhang}" escapeXml="false"></c:out></c:forEach></textarea>
                           </div>
                       </td>
                   </tr>
               </table>
           </div>
       </div>
   </div>
   <!-- 右侧 -->
   <div class="newColl_layout_right">
       <c:set var="hasPeoplesArea" value="${((empty param.from or param.from=='relateProject' or param.from=='a8genius') && empty contentContext.workflowNodesInfo && empty peopeleCardInfo) || showTraceWorkflows}"/>
       <c:if test="${(hasPeoplesArea and CurrentUser.externalType == 0) or (isSystemTemplete and ctp:hasPlugin('workflowAdvanced'))}">
           <div class="hidden_side">
             <div id="sideBtn" class="sideBtn"><i class="zz syIcon sy-arrow-right"></i><i class="ss syIcon sy-arrow-left"></i></div>
           </div>
           <div class="rightArea">
               <!--数据关联区域-->
               <c:choose>
                   <c:when test="${isSystemTemplete || showTraceWorkflows}">
                        <%-- <div class="common_contact_title clearfix">
                            <div class="titleTab active" style="font-size:12px;" id="dataRelationTab">${ctp:i18n("collaboration.newcoll.common.related.data")}</div>
                            <div class="titleTab" id="predictionTab" onclick="loadPrediction()">${ctp:i18n("workflow.prediction.label.title")}</div>
                        </div>		 --%>
							 <%@ include file="/WEB-INF/jsp/common/workflow/prediction/workflowPrediction.jsp"%>
							 <%@ include file="/WEB-INF/jsp/apps/collaboration/dataRelation.jsp"%>
						</c:when>
		        		<c:otherwise>
		        			<%--
		        			1.新建的时候显示最近联系人
		        			2.项目协同显示
		        			3.待发/人员卡片/关联人员进入的不显示 paramform
		        			4.有流程的不显示  （js控制）
		        			 --%>
		        			<div class="common_contact_title clearfix">
							  	<div class="titleTab active" style="font-size:12px;" id="personSelTab">${ctp:i18n("collaboration.newcoll.common.peoples")}</div>
							     <div class="titleTab" style="margin-left:20px;font-size:12px;max-width:100px; white-space:nowrap; text-overflow:ellipsis; -o-text-overflow:ellipsis; overflow:hidden;"
							     id="templateSelTab" onclick="loadRightTemplates()" title="${ctp:i18n("collaboration.newcoll.commonTemplate")}">${ctp:i18n("collaboration.newcoll.commonTemplate")}</div>
							</div>
							<%-- 常用联系人--%>
		        			<c:if test="${hasPeoplesArea}">
								<div id="personSelArea" class="rightAreaContainer">
										<div class="moreSel">
											<div class="selButton"  style="font-size:12px;"><span>${ctp:i18n("collaboration.newcoll.more.contacts")}</span></div>
										</div>
										<ul class="common_contact" id="hasPeoplesArea">
										<li class="margin_l_10 common_contact_li">
										<span class="common_people" onclick="showOrHiddenCommonPeoples(this,'rp')">
											<span class="ico16 arrow_toggle_ss_16 margin_b_5">
											</span>${ctp:i18n("common.my.peoplerelate")}
											<div id="relativePeopleNum" style="display:inline-block"></div>
								        </span><%-- 关联人员--%>
										<ul class="hidden" id="relativePeopleArea">
										</ul>
										</li>
										<li class="margin_l_10  common_contact_li">
										<span class="common_people" onclick="showOrHiddenCommonPeoples(this,'cp')"><span class="ico16 arrow_toggle_zk_16 margin_b_5"></span>${ctp:i18n("collaboration.newcoll.recent.peoples")}（${recentPeoplesLength}）</span><%--最近联系人 --%>
										<ul class="dele_ovarflow" style="margin-top:1px;">
										<c:forEach items="${recentPeoples}" var="p"><li v="${ctp:toHTML(p.v)}" k="${p.k}" d="${p.d}" s="${p.s}" title="${ctp:toHTML(p.v)}" class="text_overflow" onclick="clickName(this);">${ctp:toHTML(p.v)}</li></c:forEach>
										</ul>
										</li>
										</ul>
								</div>
								<%-- 常用模板 --%>
								<div id="tempateSelArea" class="rightAreaContainer" style="display:none">
									<div class="moreSel">
									<div class="selButton" style="font-size:12px;"><span>${ctp:i18n("common.toolbar.templete.label")}</span></div>
									</div>
									<ul class="common_contact" id ="hasTemplateArea">
									</ul>
								</div>
							</c:if>
		        		</c:otherwise>
		        	</c:choose>
	       		</div>
	        </c:if>
        </div>
	</div>
</form>
<c:if test="${(isSystemTemplete and ctp:hasPlugin('workflowAdvanced')) || param.from == 'waitSend'}">
<%@ include file="/WEB-INF/jsp/ctp/form/formreport/form/queryReport/formreport_chart.js.jsp"%>
</c:if>
<script type="text/javascript">
OfficeObjExt.showExt = newColOfficeObjExtshowExt;
var dragUploadElement = document.getElementById("upload");
if(dragUploadElement){
    new CtpUiUploadFullScreenDrag(document.getElementById("upload"),{
	  dragDomTop:'187px', isSetSecretLevel:"${secretLevelAble}",
		isEncrypt:true,
	  callbackFuc:insertAtt_AttCallback
	});
}
var ofddivH ='';
function showSpreadFunc() {
    $("#zwIframe").contents().find("#officeEditorFrame").contents().find("#ofddiv").css("height",ofddivH).children().css("height",ofddivH);
    ofddivH = '';
}

function hideSpreadFunc() {
    if(!ofddivH){
        ofddivH = $("#zwIframe").contents().find("#officeEditorFrame").contents().find("#ofddiv").css('height');
    }
    $("#zwIframe").contents().find("#officeEditorFrame").contents().find("#ofddiv").css("height","0px").children().css("height","0px");
}

</script>
<!-- EBS特殊代码 - start -->
<script type="text/javascript" charset="UTF-8" src="/seeyon/apps_res/collaboration/js/ebs-add.js"></script>
<!-- EBS特殊代码 - end -->
<c:if test="${vobj.from  eq 'waitSend' and subState !='1'}">
<script type="text/javascript" charset="UTF-8" src="${path}/apps_res/collaboration/js/comment.js${ctp:resSuffix()}"></script>
</c:if>
</body>
</html>